package com.cy.mall.model.ao.order;

import com.cy.mall.model.enums.order.OrderImageType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 订单-补充文件图片资料保存字段
 * @Author tanyilin
 * @Date 2019/6/19 16:49
 */
@Data
@ApiModel("订单-补充文件图片资料保存字段")
public class OrderImageSaveAO {

    @ApiModelProperty(value = "订单ID", example = "0")
    @NotNull(message = "订单ID不可为空")
    private Long orderId;

    @ApiModelProperty(value = "图片资料类型")
    @NotNull(message = "图片资料类型不可为空")
    private OrderImageType orderImageType;

    @ApiModelProperty(value = "图片文件数组")
    private List<OrderImageAddAO> imageList;

}
